package com.sensePlusVR.setting.bluetooth;

import org.xutils.x;
import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;

import android.view.View;

import com.sensePlusVR.base.BaseActivity;
import com.sensePlusVR.main.R;
import com.sensePlusVR.utils.AppManager;
import com.sensePlusVR.utils.MyPageJump;
/**
 * 
 * @author: Loren
 * @create: 2016-8-10下午3:06:54
 * @desc: 蓝牙连接失败
 *
 */
@SuppressWarnings("unused")
@ContentView(R.layout.dialog_blue_reconnect)
public class BlueDisconnectActivity extends BaseActivity{
	private static final String TAG = BlueDisconnectActivity.class.getSimpleName();
	//@ViewInject(R.id.blue_discon_shop_tv)
	//private TextView blue_discon_shop_tv;
	@Override
	public void setMyContentView() {
		x.view().inject(this);
	}
	
	@Override
	public void initView() {
		super.initView();
		AppManager.getInstance().addActivity(this);
		//blue_discon_shop_tv.setText(Html.fromHtml("<u>"+ getResources().getString(R.string.blue_faq_shop)+"</u>"));//下划线
	}
	@Event(value = {R.id.blue_del_btn,R.id.blue_discon_reconn_btn/*,R.id.blue_discon_shop_tv*/})
	private void setViewOnClick(View view){
		switch (view.getId()) {
		case R.id.blue_del_btn:
			break;
		case R.id.blue_discon_reconn_btn:
			MyPageJump.pageJump(this, BlueScannerActivity.class);
			break;
		case R.id.blue_discon_shop_tv:
			//MyPageJump.pageJump(this, HyperlinkSettingActivity.class);
			break;
		}
		AppManager.getInstance().finishActivity(this);
	}
}
